using Medical.ErrorCode;
using MediatR;
using Medical.Api.Write.Dto.BasicManagement.DeviceClassificationDictionaryDto;

namespace Medical.Api.Write.Application.Command.BasicManagement.DeviceClassificationDictionaryCommand
{
    /// <summary>
    /// 创建器械分类命令
    /// </summary>
    public class CreateApparatusTypeCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 器械分类数据
        /// </summary>
        public CreateApparatusTypeDto ApparatusTypeData { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="apparatusTypeData">器械分类数据</param>
        public CreateApparatusTypeCommand(CreateApparatusTypeDto apparatusTypeData)
        {
            ApparatusTypeData = apparatusTypeData;
        }
    }
}